package cn.edu.sdjzu.xg.eagle.xg23_kcsj_01.entity;

import lombok.*;

import javax.security.auth.Subject;
import java.util.Date;

/**
 * @author 张烁瑜
 * @Date 2025/5/20 20:01
 */
@Data
@NoArgsConstructor
@AllArgsConstructor
//批示
public class Instruction {
    private Long id;                    //批示ID，主码
    private Long subjectId;             //外键,学科ID
    private Long applicantId;           //外键，批示人ID
    private Long approvalDepartmentId;  //外键，部门ID
    private String name;                //批示名称
    private String application;         //批示应用范围
    private Date date;                  //批示日期
    private ApprovalState approvalState;// 审批状态
    private String remarks;             //备注

    // 添加关联对象
    private Employee employee;              // 关联的用户信息
    private ApprovalDepartment department;  // 关联的部门信息
    private Subject subject;                // 关联的学科信息
}
